package com.ruoyi.patrol.service;

import java.util.List;
import com.ruoyi.patrol.domain.PtSafetyHazardReporting;
import com.ruoyi.patrol.domain.vo.PtSafetyHazardReportingVO;

/**
 * 安全隐患上报Service接口
 * 
 * @author zwq
 * @date 2023-02-22
 */
public interface IPtSafetyHazardReportingService 
{

    /**
     * 查询统计
     */

    public PtSafetyHazardReportingVO.PtSafetyHazardReportingVOTotal selectPtSafetyHazardReportingVOTotal();

    /**
     * 查询安全隐患上报
     * 
     * @param id 安全隐患上报主键
     * @return 安全隐患上报
     */
    public PtSafetyHazardReportingVO selectPtSafetyHazardReportingById(Long id);

    /**
     * 查询单个安全隐患上报
     *
     * @param ptSafetyHazardReporting 安全隐患上报
     * @return 安全隐患上报
     */
    public PtSafetyHazardReportingVO selectPtSafetyHazardReportingByIdFilter(PtSafetyHazardReporting ptSafetyHazardReporting);

    /**
     * 查询安全隐患上报列表
     * 
     * @param ptSafetyHazardReporting 安全隐患上报
     * @return 安全隐患上报集合
     */
    public List<PtSafetyHazardReportingVO> selectPtSafetyHazardReportingList(PtSafetyHazardReporting ptSafetyHazardReporting);

    /**
     * 新增安全隐患上报
     * 
     * @param ptSafetyHazardReporting 安全隐患上报
     * @return 结果
     */
    public int insertPtSafetyHazardReporting(PtSafetyHazardReporting ptSafetyHazardReporting);

    /**
     * 修改安全隐患上报
     * 
     * @param ptSafetyHazardReporting 安全隐患上报
     * @return 结果
     */
    public int updatePtSafetyHazardReporting(PtSafetyHazardReporting ptSafetyHazardReporting);

    /**
     * 批量删除安全隐患上报
     * 
     * @param ids 需要删除的安全隐患上报主键集合
     * @return 结果
     */
    public int deletePtSafetyHazardReportingByIds(Long[] ids);

    /**
     * 删除安全隐患上报信息
     * 
     * @param id 安全隐患上报主键
     * @return 结果
     */
    public int deletePtSafetyHazardReportingById(Long id);
}
